<script setup lang="ts">
import { jump, router, toast } from "@/utils/tools";;
import { useUserStore } from "@/stores/user";
import { setToken, wxLogin } from "@/utils/auth";
import { onLoad,onShow } from "@dcloudio/uni-app";
import { ref } from "vue";
import { onLaunch } from "@dcloudio/uni-app";
const allUrl = ref('')
onLoad((options:any)=>{
	if (options.title && options.links) {
			uni.setNavigationBarTitle({
				title: options.title
			});
			allUrl.value = options.links;
		} else {
			uni.navigateBack();
		}
})
const getMessage=(e:any)=>{
	let data = e.detail.data;
}
</script>
<template>
	<view><web-view :src="allUrl" @message="getMessage"></web-view></view>
</template>
